#include "user_extern.h"

static uint8_t page = 0;
/****************************************
 *  名称： digi01_info_display
 *  功能： digimon 显示DIGIMON信息
 *  参数： 
 *  返回值：DIGI_VOID
 ****************************************/
uint8_t digi01_info_display(void)
{
    uint8_t win_ret = WINDOWS_STATUS_DIS_ONLY;
    system_digimon_info(page);
    return win_ret;
}

uint8_t digi01_info_btn_select(void *arg)
{
    page++;
    if (page > 8)
    {
        page = 0;
    }
    return WINDOWS_STATUS_DIS_ONLY;
}

uint8_t digi01_info_btn_enter(void *arg)
{
    page++;
    if (page > 8)
    {
        page = 0;
    }
    return WINDOWS_STATUS_DIS_ONLY;
}

uint8_t digi01_info_btn_exit(void *arg)
{
    page = 0;
    Dsystem.windows_cur_id = WIN_UI_DIGIMON;
    return WINDOWS_STATUS_DIS_ONLY;
}
